package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.pojo.TeacherInfo;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TeacherMapper extends MPJBaseMapper<TeacherInfo>, BaseMapper<TeacherInfo> {
    @Select("SELECT teacher_id FROM teacher_info")
    List<Long> selectAllTeacherIds();
}
